package com.school.dao;


import java.util.List;

import org.springframework.stereotype.Repository;

import com.school.entity.HljtDevice;
import com.school.entity.HljtDevicetask;
import com.school.entity.HljtSetting;
import com.school.entity.HljtVersion;
import com.school.entity.android.WithTheNew;
import com.school.entity.web.DeviceClassInfo;

@Repository
public interface HljtOtherInterfacesDao {
	/**
	 * 当前设备是否有跟新
	 * @param HljtDevice
	 * @return
	 */
	WithTheNew withTheNew(HljtDevice hljtDevice);
	/**
	 * 设备开关机时间
	 */
	HljtSetting switchTime();
	/**
	 * 设备模式
	 */
	List<HljtDevicetask> findHljtDevicetaskByMac(HljtDevicetask hljtDevicetask);
	
	/**
	 * 添加升级包
	 */
	int addHljtVersion(HljtVersion hljtVersion);
	/**
	 * 最新升级包
	 */
	HljtVersion latestVersion();
	/**
	 * 所有设备
	 */
	List<DeviceClassInfo> findAllDevice();
	
	

}
